<?php echo $this->load->view('meta');?>
<link rel="stylesheet" href="<?=base_url();?>css/static.css" />
<script type="text/javascript" language="JavaScript">
	$(document).ready(function() {
		$("a.noclick").click(function() {
			return false;
		});
	});
</script>
<title>Chi Alpha at NCSU and Meredith</title>
<?php echo $this->load->view('header'); ?>

<div id="this_week" class="home_col">
	<h4>this week</h4>
	<ul>
		<li><a href="<?=site_url()?>xa/about/what"><span>707</span><?=$info_seven?></a></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><span>lifegroups</span>click for times & locations</a></li>
		<li class="last"><a href="<?=site_url()?>xa/about/what"><span>cafe xa</span><?=$info_cafe?></a></li>
	</ul>
</div>

<div id="welcome">
	<h1>Chi Alpha</h1>
	<p>Chi Alpha Christian Fellowship is a ministry to the students at North Carolina State University and Meredith College in Raleigh, NC.
		We invite you to see what we're doing on campus and to join in.  Lifegroups, 707, and cafe xa are great ways to get plugged in.
		<?=anchor('xa/contact', 'Let us know')?> if you have any questions.</p>
	<p class="spanning">check out our group on <a href="http://ncst.facebook.com/group.php?gid=5744240393">facebook</a></p>
	<p class="spanning">the xa newswire: <?=anchor('news','announcements')?></p>
</div>
<div id="home_panel" class="clearfix">
	<div class="home_col">
		<h1>the blog</h1>
		<?php if ($posts->num_rows() > 0): ?>
		<ul>
			<?php foreach ($posts->result() as $row): ?>
				<li>
					<a href="<?=site_url()?>blog/post/<?=$row->id?>" ><span><?=$row->title?></span><br /><?=date( 'D F j, Y', $row->posted)?></a>
				</li>
			<?php endforeach; ?>
		</ul>
		<?php endif; ?>
	</div>
	<div class="home_col">
		<h1>upcoming events</h1>
		<ul>
			<li><a href="<?=site_url()?>calendar/full"><span>Spring Retreat</span><br />February 23-24, 2008</a></li>
			<li><a href="<?=site_url()?>calendar/full"><span>Spring Break Gulf Trip</span><br />March 4-8, 2008</a></li>
			<li><a href="<?=site_url()?>calendar/full"><span>"I AM" Art Display</span><br />March 11, 2008</a></li>
		</ul>
	</div>
	<div class="home_col">
		<h1>rss</h1>
		<ul>
			<li><a href="<?=site_url()?>feed/blog"><span>blog</span><br />weekly 707 responses</a></li>
			<li><a href="<?=site_url()?>feed/podcasts"><span>podcasts</span><br />chi alpha's weekly 707</a></li>
			<li><a href="<?=site_url()?>feed/announcements"><span>announcements</span><br />chi alpha's current news</a></li>
		</ul>
	</div>
</div>
<?php echo $this->load->view('footer');?>